package lab02.test10;

public class Test10 {
    public static void main(String[] args) {
        ChinaPeople a = new ChinaPeople();
        System.out.println("中国人：");
        System.out.println("肤色："+a.getComplexion());
        System.out.println("语言："+a.getLanguage());
        System.out.println("喜欢的食物："+a.getFood());
        System.out.println();


        AmJericanPeople b = new AmJericanPeople();
        System.out.println("美国人：");
        System.out.println("肤色："+b.getComplexion());
        System.out.println("语言："+b.getLanguage());
        System.out.println("喜欢的食物："+b.getFood());
        System.out.println();


        BeiJingPeople c = new BeiJingPeople();
        System.out.println("北京人：");
        System.out.println("肤色："+c.getComplexion());
        System.out.println("语言："+c.getLanguage());
        System.out.println("喜欢的食物："+c.getFood());

    }
}
